package com.pkk.penguin.frame.know.springmvc.controller;

import com.pkk.penguin.frame.know.springmvc.entity.XmlEntity;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.ResponseBody;
import org.springframework.web.bind.annotation.SessionAttributes;

/**
 * @author peikunkun
 * @version V1.0
 * @Title: SpringMVCProject
 * @Package com.com.pkk.penguin.frame.know.springmvc.controller
 * @Description: <>
 * @date 2017/12/31 18:45
 */
@Controller
@RequestMapping(value = "xmlController")
@SessionAttributes
public class XmlController {

  @RequestMapping(value = "readXml", method = RequestMethod.POST)
  public @ResponseBody
  XmlEntity readXml() {
    return new XmlEntity();
  }


}
